#ifndef GSOAPSERVER_H
#define GSOAPSERVER_H

#include "gsoapapi.h"

#include <pthread.h>

class GsoapServer
{
public:
    GsoapServer();
    ~GsoapServer();

    bool startServer(int port);
    void loopRecvServer();
    void loopRecvServer_hualei();
    void quitServer();


    soap currentSoapServer;
    soap *recieveSoapArry[MAX_THREAD];
    pthread_t tid[MAX_THREAD];


};

#endif // GSOAPSERVER_H
